# -*-coding:utf-8 -*-
# File  : deviceInfoUpdate_api.py
# Time  ：2021/12/8 11:19
# Author：author name

from api.manage.manage_base import ManageBase


class DeviceInfoUpdate(ManageBase):
    def __init__(self):
        """设备信息更新接口"""
        super().__init__()
        self.url = self.host + "cloudlottery-manage/device/update"
        self.json = {"audioType": 0, "asrType": 2, "vpnType": "none", "vpnAccountInfo": "", "deviceSn": "zidonghua02",
                     "operatorId": "d87b0103b0914374ba26444aac39ceff",
                     "deviceModeId": "2953071be2ab410f9d5392060cf238e2", "address": "", "remark": "",
                     "saleProvince": "420000", "saleCity": "420100", "province": "吉林省", "city": "长春市", "area": "南关区",
                     "id": "043f33bc7f48422fa6007056e17d1d16", "isopenvoice": 0, "isOnlineSpeech": 0, "isopenface": 0,
                     "saleLotteryType": 1, "ishavebattery": 0, "chartType": 0,
                     "agentId": "4258a628ca8d4950a5e5df23d45af818", "ticketDistributoerNum": 1, "lotteryPlatform": "",
                     "otLotteryPlatform": "", "ylAuthCode": "", "thermalAdValue": 90, "sileLoginPass": "",
                     "sileUserId": "", "boolCtAward": 0, "boolOtAward": 0}
        self.method = "put"
